package com.ramos.kuaixiao.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.githang.statusbar.StatusBarCompat;
import com.ramos.kuaixiao.R;

public class BaseAllTabActivity extends BaseActivity implements View.OnClickListener {
    private final static String TAG = "BaseAllTabActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        StatusBarCompat.setStatusBarColor(this, getResources().getColor(R.color.title), false);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            default:
                break;
        }
    }

    public void showMain(int i) {
        Intent intent = new Intent();
        intent.setClass(this, MainActivity.class);
        //一定要指定是第几个pager，因为要跳到ThreeFragment，这里填写2
        intent.putExtra("id", i);
        startActivity(intent);
    }
}
